let i = 100

function test() {
    function add() {
        i++
        console.log(i)
    }

    return add
}

const result = test()
const result2 = test()

result()
result2()
result2()
result()
